package com.bjwl.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: dzx
 * @Date:Create：in 2020/4/9 16:03
 * @Description:    派工单实体类
 * @Modified By：
 * @Version: 1.0
 */
@Component
public class Orders implements Serializable {

    private Integer oid;
    private String cName; //客户姓名
    private String cPhone; //联系方式
    private Integer cardid;//卡号
    private String serviceProject; //服务项目
    private String address; //详细地址
    @DateTimeFormat(pattern="yyyy-MM-dd ")
    private Date oWriteTime; //发单时间
    private Date serviceTime; //服务时间
    private Integer onMoney; //收费金额
    private String onMoneyPeople;   //收款人
    private String sName; //业务人员
    private String remark;  //备注
    private String businessSource; //业务来源
    private String businesstype; //业务类型
    private String businessclass; //业务分类
    private String partment;//部门
    private String workboy;//工作男
    private String workgirl;//工作女
    private Integer orstate;//派单状态
    private String serialnumber;//流水号
    private Integer branchstoreid;//分店id
    private BranchStore branchStore;
    private Integer osstate; //业务(1保姆，0保洁)


    public Integer getOsstate() {
        return osstate;
    }

    public void setOsstate(Integer osstate) {
        this.osstate = osstate;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getSerialnumber() {
        return serialnumber;
    }

    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber;
    }

    public Integer getOrstate() {
        return orstate;
    }

    public void setOrstate(Integer orstate) {
        this.orstate = orstate;
    }

    public Integer getCardid() {
        return cardid;
    }

    public void setCardid(Integer cardid) {
        this.cardid = cardid;
    }


    public String getBusinesstype() {
        return businesstype;
    }

    public void setBusinesstype(String businesstype) {
        this.businesstype = businesstype;
    }

    public String getBusinessclass() {
        return businessclass;
    }

    public void setBusinessclass(String businessclass) {
        this.businessclass = businessclass;
    }

    public String getPartment() {
        return partment;
    }

    public void setPartment(String partment) {
        this.partment = partment;
    }

    public String getWorkboy() {
        return workboy;
    }

    public void setWorkboy(String workboy) {
        this.workboy = workboy;
    }

    public String getWorkgirl() {
        return workgirl;
    }

    public void setWorkgirl(String workgirl) {
        this.workgirl = workgirl;
    }

    public BranchStore getBranchStore() {
        return branchStore;
    }

    public void setBranchStore(BranchStore branchStore) {
        this.branchStore = branchStore;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Date getoWriteTime() {
        return oWriteTime;
    }

    public void setoWriteTime(Date oWriteTime) {
        this.oWriteTime = oWriteTime;
    }

    public String getServiceProject() {
        return serviceProject;
    }

    public void setServiceProject(String serviceProject) {
        this.serviceProject = serviceProject;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcPhone() {
        return cPhone;
    }

    public void setcPhone(String cPhone) {
        this.cPhone = cPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBusinessSource() {
        return businessSource;
    }

    public void setBusinessSource(String businessSource) {
        this.businessSource = businessSource;
    }


    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Integer getOnMoney() {
        return onMoney;
    }

    public void setOnMoney(Integer onMoney) {
        this.onMoney = onMoney;
    }

    public String getOnMoneyPeople() {
        return onMoneyPeople;
    }

    public void setOnMoneyPeople(String onMoneyPeople) {
        this.onMoneyPeople = onMoneyPeople;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getBranchstoreid() {
        return branchstoreid;
    }

    public void setBranchstoreid(Integer branchstoreid) {
        this.branchstoreid = branchstoreid;
    }
}
